package com.cskaoyan.service.promote;

import com.cskaoyan.bean.bo.goodsbo.TopicGoodsBO;
import com.cskaoyan.bean.common.BasePageInfoTopic;
import com.cskaoyan.bean.po.MarketTopic;
import com.github.pagehelper.PageInfo;

import java.util.ArrayList;
import java.util.List;

/**
 * @BelongsProject: market-project
 * @BelongsPackage: com.cskaoyan.service.promote
 * @CreateTime: 2022-11-21  15:44
 * @Description: TODO
 * @Version: 1.0
 */
public interface TopicService {
    PageInfo<MarketTopic> selectByBasePage(BasePageInfoTopic basePageInfoTopic);

    void insertByMarketTopic(MarketTopic marketTopic);

    void deleteByIds(ArrayList<Integer> ids);

    void deleteById(Integer id);

    void updateByMarketTopic(MarketTopic marketTopic);

    MarketTopic selectById(Integer id);

    List<TopicGoodsBO> selectGoodsById(int[] ids);
}